package com.geovis.emergency.spd.entity.pc.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.geovis.emergency.spd.entity.basic.entity.BaseSpdEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 应急预案指挥模块-灾害管理
 * </p>
 *
 * @author Lonsho
 * @since 2022-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pc_disaster")
@ApiModel(value="PcDisaster对象", description="应急预案指挥模块-灾害管理")
public class PcDisaster extends BaseSpdEntity {

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "事件类型(1-主事件，0-突发事件)")
    private String eventType;

    @ApiModelProperty(value = "数据状态(1-启用，0-禁用)")
    private String dataStatus;

    @ApiModelProperty(value = "排序号")
    private Integer idx;

    @ApiModelProperty(value = "台风id")
    private String typhoonNo;

    @ApiModelProperty(value = "预案id")
    private String pcPlanId;

    @ApiModelProperty(value = "所属区域（行政区划编码）")
    @TableField(fill = FieldFill.INSERT)
    private String regionCode;

}
